package l2

const (
	SERVICE_ID                         = "network.l2"
	L2_VLAN_NETWORK_FACTORY_SERVICE_ID = "network.l2.vlan"

	ACTION_CATEGORY = "l2Network"

	L2_NO_VLAN_NETWORK_TYPE          = "L2NoVlanNetwork"
	L2_VLAN_NETWORK_TYPE             = "L2VlanNetwork"
	HARDWARE_VXLAN_NETWORK_POOL_TYPE = "HardwareVxlanNetworkPool"
	HARDWARE_VXLAN_NETWORK_TYPE      = "HardwareVxlanNetwork"
	VXLAN_NETWORK_TYPE               = "VxlanNetwork"
	VXLAN_NETWORK_POOL_TYPE          = "VxlanNetworkPool"

	VSWITCH_TYPE_LINUX_BRIDGE = "LinuxBridge"
	VSWITCH_TYPE_OVS_DPDK     = "OvsDpdk"
	VSWITCH_TYPE_OVS_KERNEL   = "OvsKernel"

	DETACH_L2NETWORK_CODE = "l2Network.detach"

	// https://elixir.bootlin.com/linux/v5.6/source/include/uapi/linux/if.h#L33
	LINUX_IF_NAME_MAX_SIZE = 15
)
